<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>备忘</title>
    <link href="jquery-ui.css" rel="stylesheet">
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.css" rel="stylesheet">
    <style>
        #addbtn {
            position: relative;
            right: 50%;
        }
        
        ul {
            list-style: none;
        }
        
        li {
            position: relative;
            right: 50px;
            margin: 10px;
        }
    </style>
</head>

<body>
    <div class="modal fade" id="myModal" data-backdrop="static">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header" id="hea">
                    <h3 id="cctext">今天是周一</h3>
                    <div class="btn-group" role="group" aria-label="...">
                        <button type="button" class="btn btn-default" onclick="btnClick(this)" value="周一">周一</button>
                        <button type="button" class="btn btn-default" onclick="btnClick(this)" value="周二">周二</button>
                        <button type="button" class="btn btn-default" onclick="btnClick(this)" value="周三">周三</button>
                        <button type="button" class="btn btn-default" onclick="btnClick(this)" value="周四">周四</button>
                        <button type="button" class="btn btn-default" onclick="btnClick(this)" value="周五">周五</button>
                    </div>
                </div>
                <div class="modal-body" id="body">
                    <ul id="sortable">
                    </ul>
                </div>
                <div class="modal-footer" id="modal-ft">
                    <span id="addbtn" class="glyphicon glyphicon-plus"></span>
                    <div id="ft" style="display:none">
                        <input type="text" style="width:80%;margin-right:20px" id="context">
                        <button type="button" class="btn btn-info" id="add">提交</button>
                    </div>
                </div>
            </div>
            <!-- /.modal-content -->
        </div>
        <!-- /.modal-dialog -->
    </div>
    <!-- /.modal -->

</body>
<script src="jquery.js"></script>
<script src="jquery-ui.js"></script>
<script src="jquery-ui-datepicker-zh-CN.js"></script>
<script src="https://cdn.bootcss.com/bootstrap/3.3.6/js/bootstrap.js"></script>
<script src="index.js"></script>

</html>